root_dir=`pwd`
cd $root_dir/bin
export QT_DEBUG_PLUGINS=1

# 添加平台环境变量（必须！）
export QT_QPA_PLATFORM_PLUGIN_PATH=$root_dir/python/lib/python3.8/site-packages/PySide2/Qt/plugins/platforms
export QT_PLUGIN_PATH=$root_dir/python/lib/python3.8/site-packages/PySide2/Qt/plugins
export QTWEBENGINEPROCESS_PATH=$root_dir/python/lib/python3.8/site-packages/PySide2/Qt/libexec/QtWebEngineProcess
$root_dir/python/bin/python3.8 app2.py
